package service;

import common.utils.MyMapUtils;
import dao.TransfersInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.form.TransfersInfoAddForm;

/**
 * Created by asus on 2018/12/2.
 */
@Service
public class TransfersInfoService {

    @Autowired
    TransfersInfoDao transfersInfoDao;

    public int addTransfersInfo(TransfersInfoAddForm addForm){
     return transfersInfoDao.addTransfersInfo(addForm);
    }

    public int updateTransfersInfo(String paymentNo,String paymentTime,String orderCode){
     return transfersInfoDao.updateTransfersInfo(paymentNo,paymentTime,orderCode);
    }
}
